package org.zt.web;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.zt.bean.FrameData;
import org.zt.servce.INodeServce;
@Controller
public class FrameController {
	@Resource
	private INodeServce nodeServce;
	@RequestMapping("/{uid}/tobasics")
	public String tobasics(@PathVariable String uid,Model model){
		FrameData data=nodeServce.queryFrame(uid);
		model.addAttribute("frame", data);
		return "frame/basics";
	}
	
}
